Skip to content

♻️ Route settings commands through dedicated settings handler#253

Merged
msgerbush merged 2 commits into
mainfrom
refactor/phase-4-settings-controller
May 19, 2026
Merged

♻️ Route settings commands through dedicated settings handler#253
msgerbush merged 2 commits into
mainfrom
refactor/phase-4-settings-controller

Conversation

@Gudsfile
Copy link
Copy Markdown
Owner

@Gudsfile Gudsfile commented May 5, 2026

Closes #161

Summary

  • Extracts settings command dispatch into a dedicated _run_settings_command handler, separate from the generic _run_command
  • Settings commands now build only settings_service via build_settings_service, bypassing build_admin_services entirely: commands can execute even if the admin runtime fails to initialize

@Gudsfile Gudsfile self-assigned this May 5, 2026
@Gudsfile Gudsfile changed the title Refactor/phase 4 settings controller ♻️ Route settings commands through dedicated settings handler May 5, 2026
@Gudsfile Gudsfile closed this May 5, 2026
@Gudsfile Gudsfile reopened this May 5, 2026
@Gudsfile Gudsfile force-pushed the refactor/phase-3-admin-cli-boundaries branch 2 times, most recently from 1ad5b63 to 82f5b2d Compare May 7, 2026 16:21
@Gudsfile Gudsfile force-pushed the refactor/phase-4-settings-controller branch from a2ba362 to 2667dc6 Compare May 7, 2026 16:22
@Gudsfile Gudsfile force-pushed the refactor/phase-3-admin-cli-boundaries branch 3 times, most recently from 0072ccb to 33854da Compare May 7, 2026 21:53
@Gudsfile Gudsfile force-pushed the refactor/phase-4-settings-controller branch from 2667dc6 to d9ef311 Compare May 7, 2026 22:02
@Gudsfile Gudsfile force-pushed the refactor/phase-3-admin-cli-boundaries branch from ec69ef0 to 6d1af7b Compare May 7, 2026 22:44
@Gudsfile Gudsfile force-pushed the refactor/phase-4-settings-controller branch from d9ef311 to 2e9f15e Compare May 7, 2026 22:46
@Gudsfile Gudsfile force-pushed the refactor/phase-3-admin-cli-boundaries branch from 6d1af7b to 232695c Compare May 8, 2026 10:11
@Gudsfile Gudsfile force-pushed the refactor/phase-4-settings-controller branch 2 times, most recently from ff6bc8c to 484d589 Compare May 9, 2026 17:43
@Gudsfile Gudsfile marked this pull request as ready for review May 9, 2026 17:52
@msgerbush msgerbush force-pushed the refactor/phase-3-admin-cli-boundaries branch from 232695c to 37db220 Compare May 13, 2026 03:42
msgerbush
msgerbush previously approved these changes May 13, 2026
@Gudsfile Gudsfile force-pushed the refactor/phase-3-admin-cli-boundaries branch 2 times, most recently from cd3c9bd to a7cd861 Compare May 18, 2026 21:01
Settings commands now use build_settings_service directly instead of build_admin_services, avoiding unnecessary Sonos service instantiation.
_run_settings_command mirrors the library command pattern and allows settings queries to succeed even when the full admin runtime cannot resolve.
@Gudsfile Gudsfile force-pushed the refactor/phase-4-settings-controller branch from 484d589 to dbb7aa8 Compare May 18, 2026 21:09
Base automatically changed from refactor/phase-3-admin-cli-boundaries to main May 19, 2026 02:37
@msgerbush msgerbush dismissed their stale review May 19, 2026 02:37

The base branch was changed.

@msgerbush
Copy link
Copy Markdown
Collaborator

Sorry, accidentally did a merge update instead of rebase :/

@msgerbush msgerbush merged commit bff1984 into main May 19, 2026
6 checks passed
@msgerbush msgerbush deleted the refactor/phase-4-settings-controller branch May 19, 2026 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move Settings command dispatch to dedicated controller

2 participants